package com.patents.dao;

import com.patents.pojo.Admin;
import com.patents.pojo.Patents;
import com.patents.pojo.Users;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface AdminMapper {
    public Admin getAdminByMassage(@Param("adminname")String adminname, @Param("adminpassword")String adminpassword,@Param("admincode")String admincode);

    public List<Patents> getPatentB();

    public Patents getCheckPatent(int id);

    int addPatent(Patents patents);

    int deletePatentById(int id);
}
